﻿using BlogSystem.Data.Entity;

namespace BlogSystem.Data.Repository;

public interface IUserRepository : IBaseRepository<User>
{
    Task<List<User>> GetByName(string name);

    Task<List<User>> GetByNameOrPhone(string name, string phone);
}